package day02.work02;

public class Worker extends Employee{
    private int daynum;

    public Worker(){}
    public Worker(String name,String sex,String birthday,int daynum){
        super(name,sex,birthday);
        this.daynum=daynum;
    }

    public void computeSalary(){
        System.out.println(super.getName()+"工人的工资："+200*daynum);
    }
}
